*** Settings ***
Library    String

*** Test Cases ***
String Test
    ${string}=    Set Variable    hello,
    ${string1}=    Set Variable    python
    Log     ${string}
    # 连接两个字符串
    ${both_str}=     Catenate    ${string}    ${string1}
    Log    ${both_str}    # 	hello, python

None Test
    ${none}=     Set Variable    None
    Log  ${none}

Number Test
    ${number1}=    Set Variable    1 
    ${number2}=    Set Variable    2
    ${sum}=   Evaluate     ${number1}/${number2}
    Log     ${sum}  # 3

*** Variables ***
${number1}  10
${number2}  5.5

*** Test Cases ***
Number Example
    ${sum}=  Evaluate  ${number1} + ${number2}
    Log  ${sum}  # 输出: 15.5

*** Variables ***
${is_valid}  True
${is_finished}  False

*** Test Cases ***
Boolean Example
    Run Keyword If  ${is_valid}  Log  The value is valid  # 如果${is_valid}为True，则执行
    Run Keyword If  not ${is_finished}  Log  The task is not finished  # 如果${is_finished}为False，则执行
